<?
/*! \brief Represents an OpenBT root node
 * 
 */
class Root extends Node
{
	public function __construct($addr=null)
	{
		parent::__construct($addr);
		
		$this->_type = ROOT;
		$this->_regtype = 'MASTER';
		$this->_table = 'masters';
	}

	public function getMasterList()
	{
		return $this->getAddressList();
	}
	
	public function setClusterLoad($addr, $load)
	{
		return $this->setLoad($addr, $load);
	}

	public function getClusterLeastLoad()
	{
		return $this->getNodeLeastLoad();
	}
}